package com.rds.workflow.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.core.domain.BaseEntity;

import java.util.Date;

public class RdaWorkflowObjectRel extends BaseEntity {

    /** 对象id */
    private Long id;

    /** 流程id */
    private Long workflowid;

    /** 对象id */
    private Long objectid;

    /** 对象类型 */
    private Long objectTypeid;

    /** 对象状态 */
    private Long objectStateid;

    /** 对象所属超类 */
    private String objectModuleName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;

    /** 对象策略id */
    private Long objectPolicyid;

    /** 主要属性 流程相关对象 approve reference参考文档 */
    private String purpose;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getWorkflowid() {
        return workflowid;
    }

    public void setWorkflowid(Long workflowid) {
        this.workflowid = workflowid;
    }

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public Long getObjectTypeid() {
        return objectTypeid;
    }

    public void setObjectTypeid(Long objectTypeid) {
        this.objectTypeid = objectTypeid;
    }

    public Long getObjectStateid() {
        return objectStateid;
    }

    public void setObjectStateid(Long objectStateid) {
        this.objectStateid = objectStateid;
    }

    public String getObjectModuleName() {
        return objectModuleName;
    }

    public void setObjectModuleName(String objectModuleName) {
        this.objectModuleName = objectModuleName;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getObjectPolicyid() {
        return objectPolicyid;
    }

    public void setObjectPolicyid(Long objectPolicyid) {
        this.objectPolicyid = objectPolicyid;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }
}
